<script type="text/javascript">
$(function() {
	//发表状态
	$("#status_publisher").submit(function() {
		var data = $(this).serialize();
		jQuery.post("/Wyn/status/publishStatus", data, function() {
			$("#publisher-status_content").val("");
		});
		return false;
	});
});
</script>
<div class="publisher-with-skin">
	<div id="publisher-box" style="position: relative; z-index: 3;">
		<div id="publisher" class="publisher-module"
			style="_width: 520px; _overflow-x: hidden; _zoom: 1;">

			<div id="publisher-selector-box" class="publisher-selector-box">
				<header>
					<dl class="publisher-selector">
						<dt>发布：</dt>
						<dd id="publisher-status-tab" class="active">
							<a class="publisher-status-trigger" href="#"><img
								src="http://xnimg.cn/n/res/icons/status.png"> 状态</a>
						</dd>
						<dd id="publisher-photo-tab">
							<form class="publisher-photo-trigger" target="publisher_upload"
								enctype="multipart/form-data"
								action="http://upload.renren.com/uploadservice.fcgi?pagetype=publisherSingleUploadNew"
								method="post">
								<input type="file" name="file"> <input type="hidden"
									name="hostid" value="278271144">
								<iframe name="publisher_upload"
									src="http://www.renren.com/ajaxproxy.htm"
									style="display: none;" id="publisher_upload"></iframe>
								<a onclick="return false;" href="#"><img
									src="http://xnimg.cn/n/res/icons/photo.png"> 照片</a>
							</form>
						</dd>

					</dl>
				</header>
			</div>
			<div id="publisher-share-box" class="publisher-share-box"
				style="display: none">
				<article id="publisher-share" class="publisher-share">
					<section>
						<div class="input-link-box" style="display: none"></div>
						<div class="input-comment-box" style="display: none"></div>
					</section>
				</article>
			</div>
			<div id="publisher-photo-box" class="publisher-photo-box"
				style="display: none">
				<article id="publisher-photo" class="publisher-photo">
					<section>
						<div class="uploading-module" style="display: none">
							<p>
								<img src="http://xnimg.cn/n/res/icons/indicator.gif" width="16"
									height="16">正在上传，请稍候...
							</p>
						</div>
						<div class="success-module" style="display: none">
							<p>
								<img src="http://xnimg.cn/n/res/icons/right.png"> 发布成功！
							</p>
						</div>
						<div class="photo-info-box" style="display: none"></div>
					</section>
				</article>
			</div>
			<div id="publisher-status-box" class="publisher-status-box"
				data-publishtogroupsapi="http://shell.renren.com/278271144/channel">
				<article id="publisher-status" class="publisher-status">
					<section>
						<div class="editor-box">
							<form id="status_publisher" class="status-publisher" action="" method="post" novalidate="novalidate">
								<div class="status-inputer">
									<div class="status-textarea">
										<textarea id="publisher-status_content" name="content"
											class="status-content" required="required" defaultpos=""
											defaultmodule="" placeholder="你正在干嘛？"></textarea>
									</div>
									<div class="chars-info" style="display: none">
										<span class="chars-remain">140</span>
									</div>
									<div class="status-actions">
										<input class="submit" type="submit" value="发布">
									</div>
								</div>
								<div class="last-status">
									<#if ud.status != "">
										<a ui-async="async" title="${ud.status}" href="">
											${fmUtil.formatTime(ud.statusCreateTime)}:${ud.status}
										</a>
									</#if>
								</div>
							</form>
						</div>
					</section>
				</article>
			</div>
		</div>
	</div>
</div>

<div id="notice_system"></div>
<div id="replyDiv" class="reply-notify news-feed" style="display: none">
	<div class="section-header">
		<h2>
			新留言及回复<span class="stat" id="gossipReplyCount">(0)</span>
		</h2>
	</div>
	<div id="opilist" class="feed-story"></div>
</div>
<div id="newsfeed-module-box" class="newsfeed-module-box box">

	<div class="feed-module" data-loadonscroll="true" data-host="">
		<div class="feed-header-new">
			<div class="feed-tools">
			</div>
		</div>
		<div class="feed-list">
			<#list freshThingList as freshThing>
				<#if freshThing.type == "WRITEBLOG">
					<#include "fresh_thing_write_blog.ftl">
				<#elseif freshThing.type == "BECOMEFRIEND">
					<#include "fresh_thing_become_friend.ftl">
				<#elseif freshThing.type == "UPLOADIMAGE">
					<#include "fresh_thing_upload_image.ftl">
				<#elseif freshThing.type == "MODIFYPORTRAIT">
					<#include "fresh_thing_modify_portrait.ftl">
				<#elseif freshThing.type == "PUBLISHSTATUS">
					<#include "fresh_thing_publish_status.ftl">
				</#if>
			</#list>
		</div>
		<div class="feed-footer">
			<div class="feed-loading" style="display: none;">
				<p>新鲜事读取中...</p>
			</div>
			<div class="nomore-feed" style="display: none">
				<p>没有更多新鲜事了</p>
			</div>
			<div class="nomore-feed" data-forcategoryid="5" style="display: none">
				<p>
					没有更多状态新鲜事了，你可以看看<a href="http://status.renren.com/?fromType=nomore">好友最近的状态
						»</a>
				</p>
			</div>
			<div class="nomore-feed" data-forcategoryid="7" style="display: none">
				<p>
					没有更多相册新鲜事了，你可以看看<a
						href="http://photo.renren.com/photo/278271144/album/friends">好友最近的相册
						»</a>
				</p>
			</div>
			<div class="nomore-feed" data-forcategoryid="1" style="display: none">
				<p>
					没有更多分享新鲜事了，你可以看看<a href="http://share.renren.com/">热门分享 »</a>
				</p>
			</div>
			<div class="nomore-feed" data-forcategoryid="6" style="display: none">
				<p>
					没有更多日志新鲜事了，你可以看看<a href="http://blog.renren.com/friendsBlog.do">好友的日志
						»</a>
				</p>
			</div>
			<div class="nomore-feed" data-forcategoryid="20"
				style="display: none">
				<p>没有更多的公共主页新鲜事了，人人网为你推荐，快来关注吧。</p>
			</div>
			<div class="more-feed">
				<a id="more-feed" href="#">更多新鲜事</a>
			</div>
			<p class="mark-all-read">
				<a href="javascript:;">全部标记为已读</a>
			</p>
		</div>
	</div>
</div>
<div id="feed-recommend-content-box"
	class="feed-recommend-content-box box"></div>

<div class="star-new"></div>
